package com.whf;

import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * Created by Administrator on 2018/7/11 0011.
 */
@RunWith(SpringRunner.class)
@SpringBootTest
@Slf4j
public class Logtest {
  //private static final Logger logger = LoggerFactory.getLogger(Logtest.class);
    @Test
   public void test1(){
        log.error("error:---*-");
        log.warn("warn:---*-");
        log.debug("debug:---*-");
   }
}
